export enum PageName {
    launch = 'launch',
    hall = 'hall',
}
export const PageConfig: { [key in keyof typeof PageName]: IPageInfo } = {
    [PageName.launch]: {
        name: PageName.launch,
        path: 'prefab/launch/LaunchPage',
        class: 'LaunchPage',
        fullScreen: true,
    },
    [PageName.hall]: {
        name: PageName.hall,
        path: 'prefab/hall/HallPage',
        class: 'HallPage',
        fullScreen: true,
    },
}

export interface IPageInfo {
    name: string;
    path: string;
    class: string;
    fullScreen?: boolean; // 是否全屏（会隐藏所有下层Page）
}